<template>
  <div class="error_box" @click="backClick">
    <img src="@/assets/404/404.jpg" alt="" />
  </div>
</template>

<script setup lang="ts">
const backClick = () => {
  location.href = location.origin
}
</script>

<style scoped lang="scss">
.error_box {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  img {
    width: 100%;
    height: 100%;
    &:hover {
      cursor: pointer;
    }
  }
}
</style>
